package miniMVC.i
{
	/**
	 * 监听接口
	 * @author Pelephone
	 */
	public interface Ilistener
	{
		/**
		 * 绑定单个facade全局消息映射方法
		 * @param type	消息名
		 * @param listener	此参数如果不填将自动绑定到handleNote
		 */
		function addFacadeListener(type:String,listener:Function
								   , priority:int=0, useWeakReference:Boolean=false):void;
		
		/**
		 * 移除全局消息的监听
		 * @param type
		 * @param listener
		 */
		function removeFacadeListener(type:String,listener:Function):void;
	}
}